<div class="loaiptraos view">
<h2><?php  __('Loaiptrao');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $loaiptrao['Loaiptrao']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Loaiptrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $loaiptrao['Loaiptrao']['loaiptrao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $loaiptrao['Loaiptrao']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Loaiptrao', true), array('action' => 'edit', $loaiptrao['Loaiptrao']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Loaiptrao', true), array('action' => 'delete', $loaiptrao['Loaiptrao']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $loaiptrao['Loaiptrao']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaiptraos', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaiptrao', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraocbs', true), array('controller' => 'phongtraocbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraocb', true), array('controller' => 'phongtraocbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraokhs', true), array('controller' => 'phongtraokhs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraokh', true), array('controller' => 'phongtraokhs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraosvs', true), array('controller' => 'phongtraosvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('controller' => 'phongtraosvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Phongtraocbs');?></h3>
	<?php if (!empty($loaiptrao['Phongtraocb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Chidoancb Id'); ?></th>
		<th><?php __('Loaiptrao Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Phongtraocb'); ?></th>
		<th><?php __('Ngaybdcb'); ?></th>
		<th><?php __('Ngayktcb'); ?></th>
		<th><?php __('Thanhtichcb'); ?></th>
		<th><?php __('Ghichucb'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($loaiptrao['Phongtraocb'] as $phongtraocb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraocb['id'];?></td>
			<td><?php echo $phongtraocb['chidoancb_id'];?></td>
			<td><?php echo $phongtraocb['loaiptrao_id'];?></td>
			<td><?php echo $phongtraocb['cap_id'];?></td>
			<td><?php echo $phongtraocb['phongtraocb'];?></td>
			<td><?php echo $phongtraocb['ngaybdcb'];?></td>
			<td><?php echo $phongtraocb['ngayktcb'];?></td>
			<td><?php echo $phongtraocb['thanhtichcb'];?></td>
			<td><?php echo $phongtraocb['ghichucb'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraocbs', 'action' => 'view', $phongtraocb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraocbs', 'action' => 'edit', $phongtraocb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraocbs', 'action' => 'delete', $phongtraocb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraocb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraocb', true), array('controller' => 'phongtraocbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phongtraokhs');?></h3>
	<?php if (!empty($loaiptrao['Phongtraokh'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Loaiptrao Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Phongtrao'); ?></th>
		<th><?php __('Ngaybdpt'); ?></th>
		<th><?php __('Ngayktpt'); ?></th>
		<th><?php __('Thanhtichkh'); ?></th>
		<th><?php __('Ghichukh'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($loaiptrao['Phongtraokh'] as $phongtraokh):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraokh['id'];?></td>
			<td><?php echo $phongtraokh['loaiptrao_id'];?></td>
			<td><?php echo $phongtraokh['cap_id'];?></td>
			<td><?php echo $phongtraokh['khoa_id'];?></td>
			<td><?php echo $phongtraokh['phongtrao'];?></td>
			<td><?php echo $phongtraokh['ngaybdpt'];?></td>
			<td><?php echo $phongtraokh['ngayktpt'];?></td>
			<td><?php echo $phongtraokh['thanhtichkh'];?></td>
			<td><?php echo $phongtraokh['ghichukh'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraokhs', 'action' => 'view', $phongtraokh['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraokhs', 'action' => 'edit', $phongtraokh['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraokhs', 'action' => 'delete', $phongtraokh['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraokh['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraokh', true), array('controller' => 'phongtraokhs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phongtraosvs');?></h3>
	<?php if (!empty($loaiptrao['Phongtraosv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Loaiptrao Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Phongtraosv'); ?></th>
		<th><?php __('Ngaybdsv'); ?></th>
		<th><?php __('Ngayktsv'); ?></th>
		<th><?php __('Thanhtichsv'); ?></th>
		<th><?php __('Ghichusv'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($loaiptrao['Phongtraosv'] as $phongtraosv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraosv['id'];?></td>
			<td><?php echo $phongtraosv['chidoansv_id'];?></td>
			<td><?php echo $phongtraosv['loaiptrao_id'];?></td>
			<td><?php echo $phongtraosv['cap_id'];?></td>
			<td><?php echo $phongtraosv['phongtraosv'];?></td>
			<td><?php echo $phongtraosv['ngaybdsv'];?></td>
			<td><?php echo $phongtraosv['ngayktsv'];?></td>
			<td><?php echo $phongtraosv['thanhtichsv'];?></td>
			<td><?php echo $phongtraosv['ghichusv'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraosvs', 'action' => 'view', $phongtraosv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraosvs', 'action' => 'edit', $phongtraosv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraosvs', 'action' => 'delete', $phongtraosv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraosv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('controller' => 'phongtraosvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
